package com.vanzo.ui;

import android.app.Fragment;
import android.view.View;
import android.widget.TextView;

import com.vanzo.encryption.R;

import static com.vanzo.encryption.R.id.setting_fragment;

/**
 * Created by tisen on 2018/3/12.
 */

public class SettingFragment2 extends BaseFragment2 {

    private TextView title;

    @Override
    protected int getFragmentLayoutId() {
        return R.layout.fragment_settings;
    }

    @Override
    protected void initView() {
        title = (TextView) getRoot().findViewById(R.id.tv_title);
        title.setText("设置");
        getChildFragmentManager().beginTransaction()
                .add(R.id.setting_fragment, new SettingFragment())
                .commit();
    }

    @Override
    protected void initListener() {

    }

    @Override
    protected void initData() {

    }
}
